lsm_disk_name_get(3) | Libstoragemgmt C API Manual | lsm_disk_name_get(3) |
NAME¶
lsm_disk_name_get - Retrieves the name for the lsm_disk.
SYNOPSIS¶
const char * lsm_disk_name_get (lsm_disk *d);
ARGUMENTS¶
- d
- Disk to retrieve name for.
VERSION¶
1.0
DESCRIPTION¶
Retrieves the name for the lsm_disk.
NOTE¶
Address returned is valid until lsm_disk gets freed, copy return value if you need longer scope. Do not free returned string.
RETURN¶
string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.
lsm_disk_name_get | January 2023 |